﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    public class cost_sheet
    {
        public string RowId { get; set; }
        [StringLength(20)]
        public string onumber { get; set; }

        [StringLength(20)]
        public string doc_number { get; set; }

        [StringLength(50)]
        public string product { get; set; }

        [StringLength(20)]
        public string dept { get; set; }

        [StringLength(20)]
        public string period { get; set; }

        [StringLength(20)]
        public string doc_type { get; set; }

        [StringLength(20)]
        public string pi { get; set; }

        [StringLength(50)]
        public string code { get; set; }

        [StringLength(255)]
        public string pr_name { get; set; }

        [StringLength(255)]
        public string spec { get; set; }

        [StringLength(10)]
        public string unit { get; set; }

        public string? qty { get; set; }

        public string? un_material { get; set; }

        public string? un_people { get; set; }

        public string? un_manu { get; set; }

        public string? un_cost { get; set; }

        public string? co_material { get; set; }

        public string? co_people { get; set; }

        public string? co_labor { get; set; }

        public string? co_manu { get; set; }

        public string? co_amount { get; set; }

        [StringLength(20)]
        public string source { get; set; }

        public string? price { get; set; }

        public string? output { get; set; }

        public string? income { get; set; }

        public string? profit { get; set; }

        public string? pmargin { get; set; }

        public string? gross_profit { get; set; }

        public string? gmargin { get; set; }

        public string? oper { get; set; }

        public string? omargin { get; set; }

        public string? creat_time { get; set; }

        [StringLength(50)]
        public string id { get; set; }

        [StringLength(50)]
        public string sales { get; set; }

        [StringLength(255)]
        public string cost_name { get; set; }
    }
}
